<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="CunhuoNavCtrl"></ul>
<div class="set_box">
    <h1 class="set_title"><!--新增配货单-->{{language.TIPS_INVENTORY_ADD_PICKING_ORDER}}</h1>
    <div class="set_cont add_page">
        <form class="add_form">
            <p class="title">
                <!--必填资料-->{{language.TIPS_INVENTORY_MUST_INFORMATION}}
            </p>
            <p class="item_wrap">
                <label class="name">* <!--单据编号-->{{language.TIPS_INVENTORY_DOC_CODE}}:</label>
                <span class="val">{{peihuo_add_filter.record_code}}</span>
            </p>
            <p class="item_wrap">
                <label class="name">* <!--日期-->{{language.TIPS_INVENTORY_DATE}}:</label>
                <span class="val time">{{peihuo_add_filter.record_time}}</span>
            </p>
            <p class="item_wrap">
                <label class="name">* <!--配货类型-->{{language.TIPS_INVENTORY_PICKING_TYPE}}:</label>
                <select class="val" ng-model="peihuo_add_filter.record_type_code" ng-options="type.record_type_code as type.record_type_name for type in peihuo_add_filter.allocate_type_option" >
                    <option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
                </select>
            </p>
            <p class="item_wrap">
                <label class="name">* <!--营业员-->{{language.TIPS_INVENTORY_SHOP_ASSISTANT}}:</label>
                <select class="val" ng-model="peihuo_add_filter.user_code" ng-options="daogouyuan.UserName for daogouyuan in peihuo_add_filter.user_code_option ">
                    <option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
                </select>
            </p>
            <p class="item_wrap">
                <label class="name">* <!--仓库-->{{language.TIPS_INVENTORY_WAREHOUSSE}}:</label>
                <span class="val" ng-show="is_lqx">{{peihuo_add_filter.ck}}</span> 
                <select ng-show="!is_lqx" class="val" ng-model="peihuo_add_filter.store_code"  ng-options="ck.store_code as ck.store_name for ck in peihuo_add_filter.store_code_option " >
                   <option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
                </select>
            </p>
        </form>
        <p class="btn_wrap">
            <button class="btn"  type="button" ng_click="save_local(peihuo_add_filter);"><!--保存-->{{language.ACT_SAVE}}</button>
            <button class="btn" type="reset" ng-click="reset(peihuo_add_filter);"><!--重置-->{{language.ACT_RESET}}</button>
        </p>
    </div>
</div>